<?php

namespace App\Http\Requests\Admin;

use Illuminate\Foundation\Http\FormRequest;

class DictRequest extends FormRequest
{

    public function rules(): array
    {
        return [
            'name'     => 'required|string|max:100',
            'dictCode' => 'required|string|max:100',
            'status'   => 'nullable|in:0,1',
            'remark'   => 'nullable|string|max:255',
        ];
    }
}
